package com.piggy.logi.sys.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel("货源信息")
@Accessors(chain = true)
@TableName("logi_good_source")
public class LogiGoodSource {

    @TableId(value = "good_id")
    private Long goodId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty("货号")
    private String goodCode;

    @ApiModelProperty("生产企业")
    private String produceCompany;

    @ApiModelProperty("生产地址区县Id")
    private Integer produceDistrictId;

    @ApiModelProperty("生产地址详细")
    private String produceAddress;

    @ApiModelProperty("生产地址经度")
    private Float produceLng;

    @ApiModelProperty("生产地址纬度")
    private Float produceLat;

    @ApiModelProperty("货物名称")
    private String goodsName;

    @ApiModelProperty("货物类型")
    private Integer goodsType;

    @ApiModelProperty("货物描述")
    private String goodsDesc;

    @ApiModelProperty("产品手册")
    private String productManual;

    @ApiModelProperty("质检报告")
    private String qualityReport;

    @ApiModelProperty("其他材料")
    private String otherFiles;

    @ApiModelProperty(" 上市时间")
    private Date marketTime;

    @ApiModelProperty("数量")
    private String num;

    /** 重量 */
    @ApiModelProperty("重量")
    private String weight;

    /** 体积 */
    @ApiModelProperty("体积")
    private String bulk;

    @ApiModelProperty("包装类型")
    private Integer packingType;

    /** 备注 */
    @ApiModelProperty("备注")
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    private Date createTime;

    private Date updateTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
}
